Developer --> Technical Publications
PATHHardware Documentation > USB Devices > Mac OS USB DDK API Reference


Driver Notification Messages

Additional messages have been defined for handling Mac OS power management features. Version 1.1 of the Mac OS USB software notifies class drivers through the USBDriverNotificationProcPtr with the following messages:

Message constant name

kNotifyUSBSystemSleepRequest
kNotifyUSBSystemSleepDemand
kNotifyUSBSystemSleepWakeUp
kNotifyUSBSystemSleepRevoke

These messages correspond to the Sleep procedure selector codes defined in the Chapter 6, "Power Manager," in Inside Macintosh, "Devices." Your driver should return an appropriate response to these messages as defined in "Writing a Sleep Procedure" Chapter 6, "Power Manager," Inside Macintosh: Devices.


© 1999 Apple Computer, Inc.

Previous | Back Up One Level | Next | Show Frames | Hide Frames